package dongbai.soft.service;

import com.baomidou.mybatisplus.extension.service.IService;
import dongbai.soft.entity.UserEntity;
import dongbai.soft.utils.PageUtils;

import java.util.Map;

/**
 * @author SingDeer
 * @email 3335678582@qq.com
 * @date 2023-06-20 14:31:40
 */
public interface UserService extends IService<UserEntity> {

    //登录成功后生成cookie，存储在redis上，并将用户的role作为最后一位添加在cookie上
    public String SetCookie(String id, String role);

    public String getids(String token);

    PageUtils queryPage(Map<String, Object> params);


}

